package com.ctshk.rpc.bus.req;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import com.ctshk.common.req.MainTreeData;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 巴士线路信息req
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-09
 */
@Data
@ApiModel(value="BusLineReq对象", description="巴士线路信息req")
public class BusLineReq implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @NotNull(message = "巴士公司id")
    @ApiModelProperty(value = "巴士公司id")
    private Long busCompaniesId;

    @ApiModelProperty(value = "巴士公司名称")
    private String busCompaniesName;

    @NotNull(message = "车辆类型")
    @ApiModelProperty(value = "车辆类型")
    private Integer vehicleType;

    @ApiModelProperty(value = "线路名称")
    private String lineName;

    @ApiModelProperty(value = "出发城市id")
    private Long departureCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arriveCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "关口id")
    private Long gatewayId;

    @ApiModelProperty(value = "关口名称")
    private String gatewayName;

    @NotNull(message = "座位号")
    @ApiModelProperty(value = "座位号,逗号分割开")
    private String seatNumbers;

    @ApiModelProperty(value = "始发站id")
    private Long departureStationId;

    @ApiModelProperty(value = "始发站名称")
    private String departureStationName;

    @ApiModelProperty(value = "终点站id")
    private Long terminusId;

    @ApiModelProperty(value = "终点站名称")
    private String terminusName;

    @ApiModelProperty(value = "小童岁数起始")
    private Integer childAgeBegin;

    @ApiModelProperty(value = "小童岁数结束")
    private Integer childAgeEnd;

    @ApiModelProperty(value = "成人岁数起始")
    private Integer adultAgeBegin;

    @ApiModelProperty(value = "成人岁数结束")
    private Integer adultAgeEnd;

    @ApiModelProperty(value = "长者岁数起始")
    private Integer oldAgeBegin;

    @ApiModelProperty(value = "预计耗时")
    private Integer estimatedTime;

    @ApiModelProperty(value = "经停站数组")
    private MainTreeData[] siteNames;

}
